package mx.messaging.events;

extern class MessageEvent extends flash.events.Event {
	var message : mx.messaging.messages.IMessage;
	var messageId(default,null) : String;
	function new(type : String, ?bubbles : Bool, ?cancelable : Bool, ?message : mx.messaging.messages.IMessage) : Void;
	static var MESSAGE : String;
	static var RESULT : String;
	static function createEvent(type : String, msg : mx.messaging.messages.IMessage) : MessageEvent;
}
